package edu.gxmzu.task.config;

import lombok.Data;

import java.io.File;

/**
 * 文件保存地址配置类
 */
@Data
public class FilePathConfig {

//    private static String separator = File.separator;  // 获取文件名称分隔符, win \ linux /
//
//    public static String savePath = separator+"ks"+separator;
//    public static String savePath = separator+"ks"+separator+"attachment"+separator;
//    public static String tempPath = separator+"ks"+separator+"userphoto"+separator;

    // windows系统注释上面的属性, 使用下面的.
    public static String separator = File.separator;  // 获取文件名称分隔符, win \ linux /
    public static String savePath = separator+"ks"+separator;
    public static String attachmentPath = separator+"ks"+separator+"attachment"+separator;
    public static String userPhotoPath = separator+"ks"+separator+"userphoto"+separator;
    public static String userInfoImgPath = separator+"ks"+separator+"userinfoimg"+separator;

}
